import { Component } from "react";
import { Provider } from "react-redux";

import configStore from "./store";

import "./app.css";
import HUIProvide from "./components/BUI/theme";

const store = configStore();

class App extends Component {
  render() {
    return (
      <Provider store={store}>
        <HUIProvide>{this.props.children}</HUIProvide>
      </Provider>
    );
  }
}

export default App;
